<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
<link rel="stylesheet" href="print.css" type="text/css" media="print">
<meta content="SEOCOM,DEFAULT_COMMAND,HASH_COM_DELIMITER,ON_COMMAND_DISPATCHED,author,currentCommand,parent,addCommandListener,addCommandListenerFromString,createFunctionAlias,dispatchCommand,removeCommandListener,removeFunctionAlias,run" name="keywords">
<title>SEOCOM</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="asdoc.js"></script><script type="text/javascript" language="javascript" src="cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'SEOCOM - API Documentation';
				var baseRef = '';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">pbandin@alto-net.com  classes  </td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('all-classes.html')" href="package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('all-classes.html')" href="class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('index-list.html')" href="all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="index.html?SEOCOM.html&amp;class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;SEOCOM</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class SEOCOM"); titleBar_setSubNav(true,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">Top Level</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class SEOCOM</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">SEOCOM <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
 S•E•O•C•O•M v.2.0.0
 
 SEOCOM significa:  <b>S</b>earch <b>E</b>ngine <b>O</b>ptimizator by <b>COM</b>mands
 by pbandin[at]alto-net.com
 
 <br><br>
 <b>OBJETIVOS:</b><br>
     centralizar todas las funciones de una aplicacion o sitio web que deseen ser trackeadas. Para luego
     poder ser reproducidas automaticamente vía el hash del html/asp/etc que contenga el swf. y mejorar el trackeo del site.
 <br><br>
 CHANGE LOG:
 <ul>
 <li> 2.0.0: <br>- 04/11/2008 05:35 p.m. > creado y codeado</li>
 </ul>
 
 <p></p>
<br>
<span class="label">Example</span>
<br>Usar el siguiente codigo y poner en la url: #{DEFAULT_COMMAND}/{DEFAULT_COMMAND}/deci_hola  y un cartel de alerta dira: hola, hello!<br>
 
 <div class='listing'><pre>
  package 
  {
   import flash.display.Sprite;
   import flash.events.Event;
   import flash.external.ExternalInterface;
   
   public class Main extends Sprite
   {
    public function Main():void
    {
     if (stage) init();
     else addEventListener(Event.ADDED_TO_STAGE, init);
    }
    
    private function init(e:Event = null):void 
    {
     removeEventListener(Event.ADDED_TO_STAGE, init);
     var A:SEOCOM = new SEOCOM();
     var B:SEOCOM = new SEOCOM(A);
     var C:SEOCOM = new SEOCOM(B);
     C.addCommandListener('deci_hola', [this.sayHello]);
     A.run(); //tiene que ser A, porque al tener parentSEO = null, hace que revise el hash de la url
    }
    
    private function sayHello(ev:Event):void{
     ExternalInterface.call('alert', 'hola, hello!');
    }
   }
  }
 </pre></div>
 
 <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#currentCommand">currentCommand</a> : String<div class="summaryTableDescription">[read-only]
   El último comando ejecutado por este objeto SEOCOM.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#parent">parent</a> : <a href="SEOCOM.html">SEOCOM</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#SEOCOM()">SEOCOM</a>(parentSEOCOM:<a href="SEOCOM.html">SEOCOM</a> = null, id:String = "")</div>
<div class="summaryTableDescription">
   </div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addCommandListener()">addCommandListener</a>(commandName:String, callbacksArray:Array, useWeakReference:Boolean = true):void</div>
<div class="summaryTableDescription">
   agrega un comando y registra todas esas funciones al comando.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addCommandListenerFromString()">addCommandListenerFromString</a>(commandName:String, aliasStringScript:String):void</div>
<div class="summaryTableDescription">
   registra listeners anonimos en base a alias reconocidos en un string con formato:   ...</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#createFunctionAlias()">createFunctionAlias</a>(aliasName:String, pointToFunction:Function):void</div>
<div class="summaryTableDescription">
   Registra un alias de una funcion, para luego poder ser reconocia en <b>addCommandListenerFromString</b>
   </div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dispatchCommand()">dispatchCommand</a>(commandName:String = null):void</div>
<div class="summaryTableDescription">
   dispatch un comando y luego dispatch un comando que los SEOCOM childs van a escuchar y eso los va a hacer correr sus propios processHash.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeCommandListener()">removeCommandListener</a>(commandName:String, listenersArray:Array = null, deleteAnonymousListeners:Boolean = false):void</div>
<div class="summaryTableDescription">
   remueve uno o varios listeners.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeFunctionAlias()">removeFunctionAlias</a>(aliasName:String):void</div>
<div class="summaryTableDescription">
   </div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#run()">run</a>():void</div>
<div class="summaryTableDescription">
   Se activa, lee el hash de la url o del chidlHash del parent.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#author">author</a> : String = "pbandin@alto-net.com"<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_COMMAND">DEFAULT_COMMAND</a> : String = "default"<div class="summaryTableDescription">[static]
   Cuando no hay comandos especificados, esto aparece en el hash.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
</table>
</div>
<a name="protectedConstantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Constants</div>
<table id="summaryTableProtectedConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#HASH_COM_DELIMITER">HASH_COM_DELIMITER</a> : String = "/"<div class="summaryTableDescription">[static]
   el divisor de comandos en el hash de la url.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#ON_COMMAND_DISPATCHED">ON_COMMAND_DISPATCHED</a> : String = "onCommandDispatched"<div class="summaryTableDescription">
   AL ejecutar un comando, el objeto SEOCOM dispatchea este evento.</div>
</td><td class="summaryTableOwnerCol">SEOCOM</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="currentCommand"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">currentCommand</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>currentCommand:String</code>&nbsp;&nbsp;[read-only]<p>
   El último comando ejecutado por este objeto SEOCOM.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get currentCommand():String</code>
<br>
</div>
<a name="parent"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">parent</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>parent:<a href="SEOCOM.html">SEOCOM</a></code>&nbsp;&nbsp;[read-write]<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get parent():<a href="SEOCOM.html">SEOCOM</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set parent(value:<a href="SEOCOM.html">SEOCOM</a>):void</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="SEOCOM()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">SEOCOM</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function SEOCOM(parentSEOCOM:<a href="SEOCOM.html">SEOCOM</a> = null, id:String = "")</code><p>
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">parentSEOCOM</span>:<a href="SEOCOM.html">SEOCOM</a></code> (default = <code>null</code>)<code></code> &mdash; el SEOCOM parent.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:String</code> (default = "<code></code>")<code></code> &mdash;    el id.
   </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addCommandListener()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addCommandListener</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function addCommandListener(commandName:String, callbacksArray:Array, useWeakReference:Boolean = true):void</code><p>
   agrega un comando y registra todas esas funciones al comando. Similar a addEventListener
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">commandName</span>:String</code> &mdash; -nombre del comando a dispatchear, debe estar previamente registrado, sino se ignorará la llamada.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callbacksArray</span>:Array</code> &mdash; -uno o mas callbacks. Si las funciones pertenecen a una clase, dejar useWeakReference=true
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">useWeakReference</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; -usar false solo si la funcion es anónima.
   
   </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br>Un ejemplo de implementación...
   <div class='listing'><pre>
     ...
     seocomObj.addCommandListener("ACTION", [this.doActionCommand]);
     seocomObj.addCommandListener("GO", [function():void{trace('HOLAAA')}], false); //useWeakReference=false porque es anónima
     ...
     private function doActionCommand(ev:Event):void {
      trace(ev.target === seocomObj); // true
     }
   </pre></div>
   <p></p>
</div>
<a name="addCommandListenerFromString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addCommandListenerFromString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addCommandListenerFromString(commandName:String, aliasStringScript:String):void</code><p>
   registra listeners anonimos en base a alias reconocidos en un string con formato:   ... alias(params) ...
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">commandName</span>:String</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">aliasStringScript</span>:String</code></td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br><div class='listing'><pre>
      var sc:SEOCOM = new SEOCOM();
       sc.createFunctionAlias('trace', trace);
       sc.addCommandListenerFromString('algo', 'trace(hola como estan?) trace(bien gracias)')</pre></div>
   <p></p>
</div>
<a name="createFunctionAlias()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">createFunctionAlias</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function createFunctionAlias(aliasName:String, pointToFunction:Function):void</code><p>
   Registra un alias de una funcion, para luego poder ser reconocia en <b>addCommandListenerFromString</b>
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">aliasName</span>:String</code> &mdash;   - el "alias" de la funcion
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">pointToFunction</span>:Function</code> &mdash;   - al entontrar ese alias, se referirá a esta función
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="SEOCOM.html#addCommandListenerFromString()" target="">addCommandListenerFromString()</a>
</div>
</div>
<a name="dispatchCommand()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dispatchCommand</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function dispatchCommand(commandName:String = null):void</code><p>
   dispatch un comando y luego dispatch un comando que los SEOCOM childs van a escuchar y eso los va a hacer correr sus propios processHash.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">commandName</span>:String</code> (default = <code>null</code>)<code></code> &mdash; comando a dispatchear, if  null, se utilizara como comando: DEFAULT_COMMAND
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="SEOCOM.html#DEFAULT_COMMAND" target="">DEFAULT_COMMAND</a>
</div>
</div>
<a name="removeCommandListener()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeCommandListener</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeCommandListener(commandName:String, listenersArray:Array = null, deleteAnonymousListeners:Boolean = false):void</code><p>
   remueve uno o varios listeners.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">commandName</span>:String</code> &mdash; -listeners a borrar (aca irian los listeners no anonimos... blah)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">listenersArray</span>:Array</code> (default = <code>null</code>)<code></code> &mdash; -borra TODOS los listeners que hayan sido declarados como anónimos.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">deleteAnonymousListeners</span>:Boolean</code> (default = <code>false</code>)<code></code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="SEOCOM.html#addCommandListener()" target="">addCommandListener()</a>
</div>
<br>
<span class="label">Example</span>
<br>El siguiente ejemplo borra una funcion de clase, y todas las funciones anónimas registradas a ese comando:
   <div class='listing'><pre>
     seocomObj.removeCommandListener("commandName", [this.someCommandListener], true);
   </pre></div>
   Este otro, borra solamente las funciones anónimas:
   <div class='listing'><pre>
     seocomObj.removeCommandListener("commandName", null, true);
   </pre></div>
   <p></p>
</div>
<a name="removeFunctionAlias()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeFunctionAlias</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeFunctionAlias(aliasName:String):void</code><p>
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">aliasName</span>:String</code> &mdash; el nombre del alias que se quiere borrar.
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="SEOCOM.html#createFunctionAlias()" target="">createFunctionAlias()</a>
</div>
</div>
<a name="run()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">run</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function run():void</code><p>
   Se activa, lee el hash de la url o del chidlHash del parent.
   Sea como sea, o corre el default command, o algun comando ya definido.
   </p></div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="author"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">author</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const author:String = "pbandin@alto-net.com"</code>
</div>
<a name="DEFAULT_COMMAND"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAULT_COMMAND</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DEFAULT_COMMAND:String = "default"</code><p>
   Cuando no hay comandos especificados, esto aparece en el hash.
   es el nomrbe del comando default.
   </p></div>
<a name="HASH_COM_DELIMITER"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">HASH_COM_DELIMITER</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected static const HASH_COM_DELIMITER:String = "/"</code><p>
   el divisor de comandos en el hash de la url.
   </p></div>
<a name="ON_COMMAND_DISPATCHED"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ON_COMMAND_DISPATCHED</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected const ON_COMMAND_DISPATCHED:String = "onCommandDispatched"</code><p>
   AL ejecutar un comando, el objeto SEOCOM dispatchea este evento. Para que los hijos revisen el parent.childHash()
   </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
